package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketCategory;
import com.cskaoyan.market.vo.MarketCategoryVO;

import java.util.List;

public interface AdminCategoryService {
    List<MarketCategory> l1();

    List<MarketCategoryVO> list();

    MarketCategory create(String name, String desc, String iconUrl, String picUrl, String level, String keywords, String pid);

    void delete(String id);

    int update(String name, String desc, String iconUrl, String keywords, String level, String picUrl, Integer pid, Integer id);

}
